<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
 <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="css/style.css"/>       
        <link href="assets/css/codemirror.css" rel="stylesheet">
        <link rel="stylesheet" href="assets/css/ace.min.css" />
        <link rel="stylesheet" href="assets/css/font-awesome.min.css" />
        	<!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
        <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
		  
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
		<script src="js/jquery-1.9.1.min.js"></script>
        <script src="assets/js/bootstrap.min.js"></script>
		<script src="assets/js/typeahead-bs2.min.js"></script>           	
        <script src="assets/layer/layer.js" type="text/javascript" ></script>          
        <script src="assets/js/jquery-ui-1.10.3.custom.min.js"></script>
		<script src="assets/js/jquery.ui.touch-punch.min.js"></script>
        <script src="assets/js/ace-elements.min.js"></script>
		<script src="assets/js/ace.min.js"></script>
		<script src="assets/laydate/laydate.js" type="text/javascript"></script>
		<script type="text/javascript" src="Widget/ueditor/1.4.3/ueditor.config.js"></script>
        <script type="text/javascript" src="Widget/ueditor/1.4.3/ueditor.all.min.js"> </script>
        <script type="text/javascript" src="Widget/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script> 
		<style type="text/css"> 
         #preview{width:100px;height:100px;border:1px solid #000;overflow:hidden;} 
         #imghead {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image);} 
        </style> 
<title>用户中心</title>

</head>
<body>
<div class="margin clearfix">
 <div class="stystems_style">
  <div class="tabbable">
	<ul class="nav nav-tabs" id="myTab">
	  <li class="active">
		<a data-toggle="tab" href="#newdropdown"><i class="green fa fa-home bigger-110"></i>&nbsp;企业信息</a></li>
		<li class="">
		<a data-toggle="tab"  href="#home">&nbsp;基本设置</a>
      </li>
	<!--  <li class="">
		<a data-toggle="tab"  href="#homerr">&nbsp;地理位置</a>
      </li>-->
	</ul>

    <div class="tab-content">
	
		<div id="home" class="tab-pane">
		
		<div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">企业图标： </label>
        <div id="preview" style="margin-left:150px;"><img id="imghead" width=80 height=80 border=0 src='images/user.png'> 
		</div>
		</div>
	       <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1"><i>*</i>用户id： </label>
          <div class="col-sm-9"><input type="text" id="website-title" value="fdjg445"  style=" width:300px" class="col-xs-10 "></div>
          </div>
         <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1"><i>*</i>公司名称： </label>
          <div class="col-sm-9"><input type="text" id="website-title" value="旭派电池"  style=" width:300px" class="col-xs-10 "></div>
          </div>
		  <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1"><i>*</i>公司品牌： </label>
          <div class="col-sm-9"><input type="text" id="website-title" value="旭派"  style=" width:300px" class="col-xs-10 "></div>
          </div>
		  <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">公司类型： </label>
          <div class="col-sm-9">
		  <span class="formControls col-4"><select style=" width:300px" class="form-control" id="form-field-select-1">
          <option value="">--选择所属分类--</option>
          <option value="1">个企</option>
          <option value="2">国营</option>
          <option value="3">跨国</option>
          </select>
          </span>
		  </div>
          </div>
		  <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">经营范围： </label>
          <div class="col-sm-9"><input type="text" id="website-title" value="汽车、飞机" style=" width:300px" class="col-xs-10"></div>
          </div>
		  
	      <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">公司规模： </label>
          <div class="col-sm-9"><input type="text" id="website-title" value="2000" style=" width:300px" class="col-xs-10">&nbsp;&nbsp;人
		  </div>
          </div>
		   <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">法人姓名： </label>
          <div class="col-sm-9"><input type="text" id="website-title" value="张小泉" style=" width:300px" class="col-xs-10"></div>
          </div>
		 
          <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1"><i>*</i>固定电话： </label>
          <div class="col-sm-9"><input type="text" id="website-title" value="023-123456" style=" width:300px" class="col-xs-10"></div>
          </div>
		   <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1"><i>*</i>联系人： </label>
          <div class="col-sm-9"><input type="text" id="website-title" placeholder="" value="张小泉" style=" width:300px" class="col-xs-10 "></div>
          </div>
		  <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">QQ号： </label>
          <div class="col-sm-9">
		  <input type="text" id="website-title"  value="123456" style=" width:280px;border:0px"  class="col-xs-10 ">
		  <div style="padding-top:5px"><a  onclick="jieban()" style="color:#99CCFF">解绑</a></div></div>
          </div>
		  <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">微信号： </label>
          <div class="col-sm-9">
		  <input type="text" id="website-title"  value="dhg_zhangxiaoxiao" style="width:280px;border:0px" class="col-xs-10 ">
		  <div style="padding-top:5px"><a onclick="jiebang()" style="color:#99CCFF">解绑</a></div>
		  </div>
          </div>
		   <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">电子邮箱： </label>
          <div class="col-sm-9">
		  <input type="text" id="website-title"  value="1546454@sd.com" style="width:280px;border:0px" class="col-xs-10 ">
		  <div style="padding-top:5px"><a onclick="jiebang()" style="color:#99CCFF">解绑</a></div>
		  </div>
          </div>
		  <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">绑定手机： </label>
          <div class="col-sm-9">
		  <input type="text" id="website-title" value="123456789321" style=" width:280px;border:0px" class="col-xs-10 ">
		  <div style="padding-top:5px"><a onclick="member_edit()" style="color:#FF66FF">点击改绑</a></div>
		  </div>
          </div>
		  <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1"><i>*</i>选择地区： </label>
          <div class="col-sm-9"><span class="formControls col-4" style=" width:100px">
		  <select style=" width:90px" class="form-control" id="form-field-select-1">
          <option value="0">选择省</option>
          <option value="1">河南省</option>
          <option value="2">河北省</option>
          <option value="3">湖北省</option>
          </select>
		  </span>
		  <span class="formControls col-4" style=" width:100px">
		  <select style=" width:90px" class="form-control" id="form-field-select-1">
          <option value="">选择市</option>
          <option value="1">河南市</option>
          <option value="2">河北市</option>
          <option value="3">湖北市</option>
          </select>
		  </span>
		  <span class="formControls col-4" style=" width:100px">
		  <select style=" width:90px" class="form-control" id="form-field-select-1">
          <option value="">选择区</option>
          <option value="1">河南区</option>
          <option value="2">河北区</option>
          <option value="3">湖北区</option>
          </select>
		  </span> 
		  </div>
          </div>
          <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1"><i>*</i>详细地址： </label>
          <div class="col-sm-9"><input type="text" id="website-title" placeholder="" value="河北省河北市" style=" width:300px" class="col-xs-10 "></div>
          </div>
		   <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">经纬度： </label>
          <div class="col-sm-9"><input type="text" id="result_" value="123456,445547" style=" width:300px;" class="col-xs-10"> 
		                &nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="确定使用" class="btn btn-xs btn-danger " onClick="setting();"/>
		  
		  </div>
          </div>
		  <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">经纬度选择： </label>
          <div class="col-sm-9"><div id="container" 
                          style="position: absolute;
                             margin-top:10px; 
							 margin-left:10px;
                            width: 800px; 
                             height: 300px; 
                             top: 50; 
                           border: 1px solid gray;
                             overflow:hidden;">
        </div>
		</div>
          </div>
		  <div class="form-group" style="margin-top:310px"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">平台积分： </label>
          <div class="col-sm-9">&nbsp;&nbsp;&nbsp;&nbsp;<span class="info">10</span></li>
          &nbsp;&nbsp;&nbsp;&nbsp;
		  <a href="point_buy.html" title="点击购买"  class="btn btn-xs btn-info"><span>购买</span></a>
		  </div>
		  </div>
		  <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1">实名认证： </label>
          <div class="col-sm-9">&nbsp;&nbsp;
		  <a href="attestation.html" title="点击认证"  class="btn btn-xs btn-danger"><span>未认证</span></a>
		  </div>
          </div>
           <div class="form-group"><label class="col-sm-1 control-label no-padding-right" for="form-field-1"><i></i>企业简介： </label>
          <div class="col-sm-9" >
		  <span class="formControls col-10" style="margin-left:10px;width:800px;height: 300px;">
		  <script id="editor" type="text/plain" style="width:100%;height:200px;"></script> </span></div>
          </div>
		  <br/> <br/> 
          <div class="Button_operation"> 
				<button onclick="tiaoz()" class="btn btn-primary radius" type="submit"><i class="fa fa-save "></i>&nbsp;&nbsp;保存&nbsp;&nbsp;</button>
				
				<button onclick="tiaozzz()" class="btn btn-default radius" type="button">&nbsp;&nbsp;返回&nbsp;&nbsp;</button>
			</div>
        </div>

<div id="newdropdown" class="tab-pane active">
        <div class="detailed_style clearfix">
    <em class=""></em>
    <div class="shop_logo"><img src="images/detailnoimg.png" /><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;使用系统0年0月9日</div>
    <ul class="shop_content clearfix">
	<li class="shop_name"><label class="label_name">用户id：</label><span class="info">gf445</span> </li>
    <li class="shop_name"><label class="label_name">公司名称：</label><span class="info">旭派电池</span>&nbsp;&nbsp;&nbsp;&nbsp;
	<a  title="点击认证"  style="height:25px;width:50px;margin-top:-5px" class="btn btn-xs btn-danger">
	<i style="margin-left:-5px"  style=""class="fa-border">未认证</i></a>
	 </li>
    <li><label class="label_name">公司品牌：</label><span class="info">旭派</span></li>
	<li><label class="label_name">公司类型：</label><span class="info">国企</span></li>
	<li><label class="label_name">公司规模：</label><span class="info">2000人</span></li>
    <li><label class="label_name">经营范围：</label><span class="info">汽车、飞机</span></li>
	<li><label class="label_name">注册时间：</label><span class="info">2016/02/01</span></li>
    <li><label class="label_name">法人姓名：</label><span class="info">张小泉</span></li>
    <li><label class="label_name">电子邮箱：</label><span class="info">789@qiye.com</span></li>
	<li><label class="label_name">绑定手机：</label><span class="info">123456789321</span></li>
    <li><label class="label_name">固定电话：</label><span class="info">025-56787876</span></li>
	<li><label class="label_name">联系人：</label><span class="info">张小泉</span></li>
	<li><label class="label_name">平台积分：</label><span class="info">10</span></li>
	<li><label class="label_name">详细地址：</label><span class="info">河北省河北市</span></li>
	<li><label class="label_name">经纬度：</label><span class="info">125454,4447</span></li>
    </ul>
        </div><br/><br/><br/><br/>
   <div class="Store_Introduction">
          <div class="title_name">企业简介</div>
   <div class="info"><br />
   </div>
   </div>
 <div class="state-overview clearfix">
                  <div class="col-lg-3 col-sm-6">
                      <section class="panel">
                      <a href="#" title="商城会员">
                          <div class="symbol terques">
                             <i class="icon-shopping-cart"></i>
                          </div>
                          <div class="value">
                              <h1>390</h1>
                              <p>累计订单</p>
                          </div>
                          </a>
                      </section>
                  </div>
                
                  <div class="col-lg-3 col-sm-6">
                      <section class="panel">
                          <div class="symbol yellow">
                              <i class="icon-shopping-cart"></i>
                          </div>
                          <div class="value">
                              <h1>345</h1>
                              <p>客户销售订单</p>
                          </div>
                      </section>
                  </div>
                  <div class="col-lg-3 col-sm-6">
                      <section class="panel">
                          <div class="symbol blue">
                              <i class="icon-bar-chart"></i>
                          </div>
                          <div class="value" title="按累计订单排名">
                              <h1>3</h1>
                              <p>活跃度排名</p>
                          </div>
                      </section>
                  </div>
              </div>
</div>

<!--<div id="homerr" class="tab-pane">
    <div style="width:730px;margin:auto;">   
       <label style="width:260px"> 输入地址：<input id="text_" type="text" value="中国" /></label>
		<input type="button" value="查询"  class="btn btn-xs btn-info" onClick="searchByStationName();"/>
       <label  style="margin-left:50px;width:260px">经纬度：<input id="result_" type="text" /></label>
        <input type="button" value="确定使用" class="btn btn-xs btn-danger " onClick="setting();"/>
        <div id="container" 
            style="position: absolute;
                margin-top:30px; 
                width: 730px; 
                height: 590px; 
                top: 50; 
                border: 1px solid gray;
                overflow:hidden;">
        </div>
    </div>
</div>-->

 </div>
</div>
</div>
 </div>


<div class="edit_menber" id="edit_menber_style" style="display:none">
           <ul class=" page-content">
       <div class="Operate_cont clearfix">
      <label class="form-label"><span class="c-red"></span>输入改绑手机号：</label>
      <div class="formControls " style="width:280px;">
         <input type="text" class="input-text" value="" id="user-name"  style="margin-top:-5px" name=""><a style="color:#FF9933">获取验证码</a>
      </div>
    </div>
    <div class="Operate_cont clearfix">
      <label class="form-label"><span class="c-red"></span>输入验证码：</label>
      <div class="formControls ">
        <input type="text" class="input-text" value="" style="margin-top:-5px" id="user-name"  name="">
      </div>
    </div>

  </ul>
</div>
</body>
<script type="text/javascript">
function member_edit(){
	  layer.open({
        type: 1,
        title: '手机号改绑',
		maxmin: true, 
		shadeClose:false, //点击遮罩关闭层
        area : ['600px' , ''],
        content:$('#edit_menber_style'),
		btn:['绑定','取消'],
    });
}
   function jiebang(){
	layer.confirm('确认要解绑吗？',function(index){
		layer.msg('已解除绑定!',{icon:1,time:1000});
	});
	}
	   function jieban(){
	layer.confirm('确认要解绑吗？',function(index){
		layer.msg('已解除绑定!',{icon:1,time:1000});
	});}
  $(function(){
	var ue = UE.getEditor('editor');
});
   function setting(){
	layer.confirm('确认要使用吗？',function(index){
		layer.msg('已使用!',{icon:1,time:1000});
	});
 		var valu = document.getElementById("result_").value;
          document.getElementById("value1").value = valu;
          document.getElementById("value2").value = valu;
		
}


    var map = new BMap.Map("container");
    map.centerAndZoom("宁波", 12);
    map.enableScrollWheelZoom();    //启用滚轮放大缩小，默认禁用
    map.enableContinuousZoom();    //启用地图惯性拖拽，默认禁用

    map.addControl(new BMap.NavigationControl());  //添加默认缩放平移控件
    map.addControl(new BMap.OverviewMapControl()); //添加默认缩略地图控件
    map.addControl(new BMap.OverviewMapControl({ isOpen: true, anchor: BMAP_ANCHOR_BOTTOM_RIGHT }));   //右下角，打开

map.addEventListener("click",function(e){   //单击地图，形成折线覆盖物
 
     document.getElementById("result_").value =e.point.lng + "," + e.point.lat;
       
});

    var localSearch = new BMap.LocalSearch(map);
    localSearch.enableAutoViewport(); //允许自动调节窗体大小
function searchByStationName() {
    map.clearOverlays();//清空原来的标注
    var keyword = document.getElementById("text_").value;
    localSearch.setSearchCompleteCallback(function (searchResult) {
        var poi = searchResult.getPoi(0);
        document.getElementById("result_").value = poi.point.lng + "," + poi.point.lat;
        map.centerAndZoom(poi.point, 13);
        var marker = new BMap.Marker(new BMap.Point(poi.point.lng, poi.point.lat));  // 创建标注，为要查询的地方对应的经纬度
        map.addOverlay(marker);
        var content = document.getElementById("text_").value + "<br/><br/>经度：" + poi.point.lng + "<br/>纬度：" + poi.point.lat;
        var infoWindow = new BMap.InfoWindow("<p style='font-size:14px;'>" + content + "</p>");
        marker.addEventListener("click", function () { this.openInfoWindow(infoWindow); });
        // marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画
    });
    localSearch.search(keyword);
} 

</script>
</html>
<script type="text/javascript">
// $(".widget-box").height($(window).height()-215); 
//$(".table_menu_list").width($(window).width()-260);
// $(".table_menu_list").height($(window).height()-215);
//  //当文档窗口发生改变时 触发  
//    $(window).resize(function(){
//	$(".widget-box").height($(window).height()-215);
//	 $(".table_menu_list").width($(window).width()-260);
//	  $(".table_menu_list").height($(window).height()-215);
//	})

function tiaozzz(){

		 window.location.href='shopping_company.html';
	
}
function tiaoz(){

	layer.confirm('确认要保存吗？',function(index){
		layer.msg('已保存!',{icon:1,time:1000});
		 window.location.href='shopping_company.html';
	});
}
</script>